package com.zsy.mapper;

import com.zsy.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper {
    List<Dept> queryDeptList();

    Dept queryDeptById(Integer id);

    void addDept(Dept dept);

    void updateDept(Dept dept);

    void deleteDeptById(Integer id);
}
